package com.example.demo.util;

import org.apache.ibatis.io.ResolverUtil;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @ClassName ValueTest
 * @Description ValueTest
 * @Author Administrator
 * @Date 2020/5/15 10:20
 * @Version 1.0
 */

@Component
public class ValueTest {


   public static String test1;


   public static String test2;


   public static String test3;

   @Value("${test.one}")
   public  void setTest1(String test1) {
      ValueTest.test1 = test1;
   }

   public  String getTest1() {
      return test1;
   }

   @Value("${test2.two}")
   public  void setTest2(String test2) {
      ValueTest.test2 = test2;
   }

   @Value("${aapt.path}")
   public  void setTest3(String test3) {
      ValueTest.test3 = test3;
   }


}
